package com.springboot_gradrecruit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.springboot_gradrecruit.common.PageResponse;
import com.springboot_gradrecruit.model.dto.send.PageSendRequest;
import com.springboot_gradrecruit.model.entity.Send;
import com.springboot_gradrecruit.model.vo.chart.SendRecordChange;
import com.springboot_gradrecruit.model.vo.chart.SendRecordSpread;
import com.springboot_gradrecruit.model.vo.job.JobVO;
import com.springboot_gradrecruit.model.vo.student.StudentVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author zr
* @description 针对表【send】的数据库操作Service
* @createDate 2024-11-08 09:53:14
*/
@Service
public interface SendService extends IService<Send> {

    PageResponse<JobVO> pageSendJob(PageSendRequest pageSendRequest);

    PageResponse<StudentVO> pageSendStudent(PageSendRequest pageSendRequest);


    List<Send> queryRecentSendRecordsGroupByTime(Long enterpriseId);

    SendRecordSpread querySendRecordSpread(List<Send> sendList);

    SendRecordChange querySendRecordChange(List<Send> sendList);
}
